using UnityEngine;

/// <summary>
/// 机枪射手技能数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/SkillData/Plants/GatlingSkillData")]
public class GatlingSkillData : SkillData
{
    [Header("机枪特性")]
    [Tooltip("每次攻击连续发射的次数")]
    public int BurstCount = 4;
    
    [Tooltip("连续发射之间的间隔时间（秒）")]
    public float BurstInterval = 0.1f;
    
    [Tooltip("子弹类型")]
    public BulletType BulletType;
    
    [Tooltip("子弹飞行速度")]
    public float BulletSpeed = 10.0f;
    
    [Tooltip("连射之间的总时间（秒）")]
    public float BurstDuration = 0.5f;
}

